package com.dao.sell;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SellMapper {
    public int addSell(@Param("sell_amounts") int sell_amounts,
                       @Param("sell_sum_price") double sell_sum_price,
                       @Param("order_code") String order_code,
                       @Param("product_id") int product_id,
                       @Param("product_name") String product_name,
                       @Param("product_image") String product_image);
    //删除订单
    public int deleteSell(@Param("order_code") String order_code);
}
